package demo06;

public class test {
    public static void main(String[] args) {
        new Person(){
            @Override
            public void eat() {
                System.out.println("eated");
            }
        }.eat();

    }
}
